require 'watir'
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'test/unit/ui/reporter'
require 'stringio'
require 'watir/testcase'

topdir = File.dirname(__FILE__)
Dir.chdir topdir do
  Dir["*_test.rb"].each { |x| require x }
end

  ObjectSpace.each_object(Class) do |test|
    Test::Unit::UI::Reporter.run(test.suite,'TestResults', :xml) if
    test < Test::Unit::TestCase
  end
  